<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/request/tianServlet" method="get">
        用户名:<input type="text" name="username"/><br/>
        密码:<input type="password" name="password"/><br/>
        爱好:<input type="checkbox" name="hobby" value="sleep">睡觉
            <input type="checkbox" name="hobby" value="playgame">打游戏
        <input type="submit" value="登陆">
    </form>

</body>
</html>